MM短剧网[短].js 1.5 KB

1234567891011121314151617181920212223242526
  1. var rule = {
  2. title: 'MM短剧网',
  3. host: 'https://www.mmduanju.com/',
  4. url: '/vodshow/fyclass--------fypage---.html',
  5. searchUrl: '/vodsearch/**----------fypage---.html',
  6. searchable: 2,
  7. quickSearch: 0,
  8. filterable: 0,
  9. class_parse: '.nav-menu-items&&li;a&&Text;a&&href;.*/(.*?).html',
  10. play_parse: true,
  11. lazy: "js:\n let html = request(input);\n let hconf = html.match(/r player_.*?=(.*?)</)[1];\n let json = JSON5.parse(hconf);\n let url = json.url;\n if (json.encrypt == '1') {\n url = unescape(url);\n } else if (json.encrypt == '2') {\n url = unescape(base64Decode(url));\n }\n if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {\n input = {\n parse: 0,\n jx: 0,\n url: url,\n };\n } else {\n input = url && url.startsWith('http') && tellIsJx(url) ? {parse:0,jx:1,url:url}:input;\n }",
  12. limit: 6,
  13. double: true,
  14. 推荐: '.module-list;.module-items&&.module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
  15. 一级: '.module-items .module-item;a&&title;img&&data-src;.module-item-text&&Text;a&&href',
  16. 二级: {
  17. title: 'h1&&Text;.tag-link&&Text',
  18. img: '.module-item-pic&&img&&data-src',
  19. desc: '.video-info-items:eq(3)&&Text;.tag-link:eq(2)&&Text;.tag-link:eq(1)&&Text;.video-info-items:eq(1)&&Text;.video-info-items:eq(0)&&Text',
  20. content: '.vod_content&&Text',
  21. tabs: '.module-tab-item',
  22. lists: '.module-player-list:eq(#id)&&.scroll-content&&a',
  23. tab_text: 'div--small&&Text',
  24. },
  25. 搜索: '.module-items .module-search-item;a&&title;img&&data-src;.video-serial&&Text;a&&href',
  26. }